package com.example.demo.service;


import org.springframework.stereotype.Service;

import java.util.Arrays;
import java.util.List;

@Service
public class ProductService {
    public List<String> getProducts() {
        return Arrays.asList("iPad", "iPod", "iPhone");
    }

    public List<String> getProductDetail() {
        return Arrays.asList("256G", "32G", "999$");
    }
}